package com.aplink.generic.pojo;

import com.aplink.generic.pojo.controlspec.menu.PopupMenuSpec;
import com.aplink.generic.util.ResourcesHelper;

public class PageItem {
    private String mContentData;
    private String mFormDesign;
    private String mIcon;
    private String mName;
    private PopupMenuSpec mPopupMenuSpec;
    private String mTitle;

    public String getContentData() {
        return this.mContentData;
    }

    public int getContentDataID() {
        return ResourcesHelper.getRawIdByName(this.mContentData);
    }

    public String getFormDesign() {
        return this.mFormDesign;
    }

    public int getFormDesignID() {
        return ResourcesHelper.getRawIdByName(this.mFormDesign);
    }

    public String getIcon() {
        return this.mIcon;
    }

    public int getIconID() {
        return ResourcesHelper.getDrawableIdByName(this.mIcon);
    }

    public String getName() {
        return this.mName;
    }

    public PopupMenuSpec getPopupMenuSpec() {
        return this.mPopupMenuSpec;
    }

    public String getTitle() {
        return this.mTitle;
    }

    public void setContentData(final String contentData) {
        this.mContentData = contentData;
    }

    public void setFormDesign(final String formDesign) {
        this.mFormDesign = formDesign;
    }

    public void setIcon(final String icon) {
        this.mIcon = icon;
    }

    public void setName(final String name) {
        this.mName = name;
    }

    public void setPopupMenuSpec(final PopupMenuSpec popupMenuSpec) {
        this.mPopupMenuSpec = popupMenuSpec;
    }

    public void setTitle(final String title) {
        this.mTitle = title;
    }
}
